package com.czn.shopdemo.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author Zenan Chen
 * @date 2023/4/3 10:43
 */
@Data
@TableName(value = "t_shop_demo_category")
@EqualsAndHashCode(callSuper = false)
public class Category extends BaseEntity {
    @ApiModelProperty(value = "商品标签编码", example = "123")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "商品标签名称", example = "服饰")
    @TableField("name")
    private String name;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


}
